game.players[arg1].mining_state = {mining = true, position = defines.direction.arg2}